package com.zhen.Service_2;

import com.zhen.Mapper.AdminMapper;
import com.zhen.User.Admin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class Adminservice implements admimservice {
    @Autowired
    private AdminMapper adminMapper;
    public Admin login(Admin admin) {
        return adminMapper.login(admin);
    }
    public Integer insert(Admin admin){
        return adminMapper.insert(admin);
    }
}
